package com.joinlabs.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.joinlabs.entity.MsgOfZan;
import com.joinlabs.mapper.MsgOfZanMapper;
import com.joinlabs.service.IMsgOfZanService;
@Service("msgOfZanService")
public class MsgOfZanServiceImpl implements IMsgOfZanService {
	@Resource
	private MsgOfZanMapper msgOfZanMapper;
	@Override
	public List<MsgOfZan> selectZanByUserId(Long userId) {
		// TODO Auto-generated method stub
		return msgOfZanMapper.selectZanByUserId(userId);
	}
	@Override
	public int insertSelective(MsgOfZan record) {
		// TODO Auto-generated method stub
		return msgOfZanMapper.insertSelective(record);
	}
	@Override
	public int deleteZan(MsgOfZan record) {
		// TODO Auto-generated method stub
		return msgOfZanMapper.deleteZan(record);
	}

}
